package com.cisco.vsx.email;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.mail.SimpleMailMessage;

/**
 * @author naresred
 *
 */
public class VSXMailMessage extends SimpleMailMessage {

	private static final long serialVersionUID = -483634450330877819L;
	
	private boolean includeHeader = false;
	private boolean includeFooter = false;
	private int headerTemplateId;
	private int footerTemplateId;
	private int subjectTemplateId;
	private int bodyTemplateId;
	private String localeName;
	private Map<Object, Object> subjectModel = new HashMap<Object, Object>();
	private Map<Object, Object> bodyModel = new HashMap<Object, Object>();
	private List<TemplateContent> images = new ArrayList<TemplateContent>();
	private List<TemplateContent> attachments = new ArrayList<TemplateContent>();
	
	public boolean isIncludeHeader() {
		return includeHeader;
	}
	public void setIncludeHeader(boolean includeHeader) {
		this.includeHeader = includeHeader;
	}
	
	public boolean isIncludeFooter() {
		return includeFooter;
	}
	public void setIncludeFooter(boolean includeFooter) {
		this.includeFooter = includeFooter;
	}		
	
	public String getLocaleName() {
		return localeName;
	}
	public void setLocaleName(String localeName) {
		this.localeName = localeName;
	}	
	
	public int getHeaderTemplateId() {
		return headerTemplateId;
	}
	public void setHeaderTemplateId(int headerTemplateId) {
		this.headerTemplateId = headerTemplateId;
	}
	
	public int getFooterTemplateId() {
		return footerTemplateId;
	}
	public void setFooterTemplateId(int footerTemplateId) {
		this.footerTemplateId = footerTemplateId;
	}
	
	public int getSubjectTemplateId() {
		return subjectTemplateId;
	}
	public void setSubjectTemplateId(int subjectTemplateId) {
		this.subjectTemplateId = subjectTemplateId;
	}
	
	public int getBodyTemplateId() {
		return bodyTemplateId;
	}
	public void setBodyTemplateId(int bodyTemplateId) {
		this.bodyTemplateId = bodyTemplateId;
	}
	
	public Map<Object, Object> getSubjectModel() {
		return subjectModel;
	}
	public void setSubjectModel(Map<Object, Object> subjectModel) {
		this.subjectModel = subjectModel;
	}
	
	public Map<Object, Object> getBodyModel() {
		return bodyModel;
	}
	public void setBodyModel(Map<Object, Object> bodyModel) {
		this.bodyModel = bodyModel;
	}
	
	public List<TemplateContent> getImages() {
		return images;
	}
	public void setImages(List<TemplateContent> images) {
		this.images = images;
	}
	
	public List<TemplateContent> getAttachments() {
		return attachments;
	}
	public void setAttachments(List<TemplateContent> attachments) {
		this.attachments = attachments;
	}
	
}
